package com.chendx.store.goods.feign;

import com.chendx.model.behivor.pojo.UserFocus;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created by chendx on 2022/4/25.
 */
@FeignClient("store-behavior")
public interface BehaviorFeign {

    @GetMapping("/api/behavior/focus4user")
    public List<UserFocus> focusUser(@RequestParam("id") String id);
}
